// 引入初始化样式文件
import './styles/common.scss'
import 'element-plus/theme-chalk/el-message.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { componentsPlugin } from '@/components'

import App from './App.vue'
import router from './router'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)
app.use(componentsPlugin)

app.mount('#app')
